//
//  SendHttpRequest.h
//  MyCar
//
//  Created by QQ on 15/5/27.
//  Copyright (c) 2015年 QQ365. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SendHttpRequest : NSObject

+(void)post:(NSString *)url params:(NSDictionary *)params success:(void(^)(id responseObj))success failure:(void(^)(NSError *error))failure;

+(void)get:(NSString *)url success:(void(^)(id responseObj))success failure:(void(^)(NSError *error))failure;
;

+(void)get:(NSString *)url parameters:(NSDictionary *)dic success:(void (^)(id responseObj))success failure:(void (^)(NSError *error))failure;

+(void)put:(NSString *)url parameters:(id)identifier success:(void (^)(id responseObj))success failure:(void (^)(NSError *error))failure;

@end
